﻿@model WeProjectsModel.Resource

@{
    ViewBag.Title = "Delete";
}

<h2>删除资源</h2>
<p class="buttonIn">
    @Html.ActionLink("返回列表", "Index")
</p>

<div class="bs-callout bs-callout-danger">
    <h4>确认删除这个项目?</h4>
    <p>项目名称：@Html.DisplayFor(model => model.Title)</p>
    <p>文件容量：@Html.DisplayFor(model => model.Size)</p>
    <p>上传时间：@Html.DisplayFor(model => model.UploadDateTime)</p>
    <p>资源说明：@Html.DisplayFor(model => model.Description)</p>
    <p>文件名称：@Html.DisplayFor(model => model.FileName)</p>
    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken()
        @Html.HiddenFor(m => Model.ID)
        <p>
            <input type="submit" value="删除" class="btn btn-danger width-20p" />
        </p>
    }
</div>
